]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Reimplement drag motion using page indicators
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 28 Jun 2022 22:47:06 +0000 (19:47 -0300)
committerMarge Bot <marge-bot@gnome.org>
Wed, 10 Aug 2022 15:16:36 +0000 (15:16 +0000)
commit09b975fabf8e05ca2c777a498364672701808dcc
tree6cd881160bf900c8714e7963fce99a1fcd5890de
parentca9a19dfbe4b89cd299528406e1df84e64e2ea87
appDisplay: Reimplement drag motion using page indicators

This simplified the _handleDragOvershoot() callback quite a lot.
Instead of transforming point positions and checking them against
grid coordinates, merely check if the drop target is one of the
page indicators.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
js/ui/appDisplay.js